SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 45356: A java.lang.Runtime exception occurs when you try to build a cluster or move the EAR file to another machine

DetailsAboutRate It

In SAS® Enterprise BI Server, the following scheduling exception occurs when you want to build a cluster or move the EAR file to a SAS® machine:

2010-12-22 17:07:24,613 INFO  [STDOUT] 2010-12-22 17:07:24,599
[ScheduleManager-init-thread] WARN  []
com.sas.svcs.scheduling.server.impl.ScheduleManager - SAS Distributed In-Process
Scheduling exception occurred.
java.lang.RuntimeException: javax.jcr.RepositoryException: Remote repository not
found: The resource at http://rdcesx03068.race.sas.com:8080/SASContentServer/rmi
could not be retrieved: Connection refused: connect: Connection refused: connect
	at com.sas.svcs.content.commons.springextensions.jcr.JcrSessionFactory.getRepository(JcrSessionFactory.java:263)
	at com.sas.svcs.content.commons.springextensions.jcr.JcrSessionFactory.getSession(JcrSessionFactory.java:237)
	at com.sas.svcs.content.commons.springextensions.jcr.SessionFactoryUtils.doGetSession(SessionFactoryUtils.java:59)
	at com.sas.svcs.content.commons.springextensions.jcr.SessionFactoryUtils.getSession(SessionFactoryUtils.java:77)
	at com.sas.svcs.content.commons.springextensions.jcr.JcrTemplate.getSession(JcrTemplate.java:115)
. . .33 additional message lines. . .	
Caused by: javax.jcr.RepositoryException: Remote repository not found: The resource at http://rdcesx03068.race.sas.com:8080/SASContentServer/rmi could not be retrieved: Connection refused: connect: Connection refused: connect
	at org.apache.jackrabbit.rmi.repository.URLRemoteRepositoryFactory.getRemoteRepository(URLRemoteRepositoryFactory.java:84)
	at org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory.getRepository(AbstractRemoteRepositoryFactory.java:59)
	at com.sas.svcs.content.commons.springextensions.jcr.JcrSessionFactory.getRepository(JcrSessionFactory.java:250)
. . .37 additional message lines. . .
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)
	at sun.net.www.http.HttpClient.New(HttpClient.java:323)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java: 801)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
	at java.net.URL.openStream(URL.java:1010)
	at org.apache.jackrabbit.rmi.repository.URLRemoteRepositoryFactory.getRemoteRepository(URLRemoteRepositoryFactory.java:61)
. . .39 additional message lines. . .
2010-12-22 17:07:24,675 INFO  [STDOUT] 2010-12-22 17:07:24,675
[ScheduleManager-init-thread] ERROR []
com.sas.svcs.scheduling.server.impl.ScheduleManager - No persistence provided
via DAV (PIP.PersistenceName) OR File (PIP.PersistenceAreaRoot)
2010-12-22 17:07:24,676 INFO  [STDOUT] 2010-12-22 17:07:24,675
[ScheduleManager-init-thread] WARN  []
com.sas.svcs.scheduling.server.impl.ScheduleManager - No persistence root
specified.

This problem occurs because the following Java system property is missing from the manual instructions in the ChangeHostName_[date-time].html file:

-Dsas.scs.host=[host-name]

You can add this parameter during a ChangeHost request that is executed with the SASADM@SASPW user account.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise BI Serverz/OS4.24.39.2 TS2M39.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems4.24.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition4.24.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition4.24.39.2 TS2M39.3 TS1M0
Microsoft Windows XP 64-bit Edition4.24.39.2 TS2M39.3 TS1M0
Microsoft® Windows® for x644.24.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.24.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition4.24.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition4.24.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x644.24.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 20084.24.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x644.24.39.2 TS2M39.3 TS1M0
Microsoft Windows XP Professional4.24.39.2 TS2M39.3 TS1M0
Windows 7 Enterprise 32 bit4.24.39.2 TS2M39.3 TS1M0
Windows 7 Enterprise x644.24.39.2 TS2M39.3 TS1M0
Windows 7 Home Premium 32 bit4.24.39.2 TS2M39.3 TS1M0
Windows 7 Home Premium x644.24.39.2 TS2M39.3 TS1M0
Windows 7 Professional 32 bit4.24.39.2 TS2M39.3 TS1M0
Windows 7 Professional x644.24.39.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit4.24.39.2 TS2M39.3 TS1M0
Windows 7 Ultimate x644.24.39.2 TS2M39.3 TS1M0
Windows Vista4.24.39.2 TS2M39.3 TS1M0
Windows Vista for x644.24.39.2 TS2M39.3 TS1M0
64-bit Enabled AIX4.24.39.2 TS2M39.3 TS1M0
64-bit Enabled HP-UX4.24.39.2 TS2M39.3 TS1M0
64-bit Enabled Solaris4.24.39.2 TS2M39.3 TS1M0
HP-UX IPF4.24.39.2 TS2M39.3 TS1M0
Linux4.24.39.2 TS2M39.3 TS1M0
Linux for x644.24.39.2 TS2M39.3 TS1M0
Solaris for x644.24.39.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.